package com.linghang.association.req;

import org.springframework.lang.NonNull;

/**
 * @author LinyaT052
 * @date 2022年07月17日 17:47
 * 用户登录请求类
 */
public class UserLoginReq {
    //用户Id,用于生成token
    private Integer id;
    //用户名
    private String username;
    //密码
    private String password;
    //权限
    private String authority;


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public UserLoginReq(Integer id, String username, String authority) {
        this.id = id;
        this.username = username;
        this.authority = authority;
    }

    public String getAuthority() {
        return authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
